package com.beadhouse.bed.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.beadhouse.common.dao.TemplateDao;
import com.beadhouse.entity.BedEntity;
import com.sun.xml.internal.bind.v2.model.core.ID;


public interface BedDao extends TemplateDao<BedEntity, Integer>{

	BedEntity selectById(int id);
	
	List<BedEntity> selectList();

	void updateSelective(@Param("id") int id,@Param("map") Map<String,Object> map);

	List<BedEntity> selectFreeList();
	
}
